﻿using ProjectManageSystemApi.Models;
using System.Collections.Generic;

namespace ProjectManageSystemApi.Services
{
    public interface IProjectUserInfoServices
    {
        bool Insert(ProjectUserIdsDto projectUser, long createUser);
        bool Insert(ProjectUserIdDto projectUser, long createUser);
        bool Delete(ProjectUserIdDto projectUser);
        Models.PageVo<List<ProjectUserInfoDto>> Query(Models.PageBo<ProjectUserInfoParams> pageBo);
        bool HasExist(ProjectUserIdDto project);
        IEnumerable<UserRoleDto> GetUserOutsizeProject(int projectId);
        List<ProjectUserInfoDto> GetAll(int projectId);
    }
}
